package com.ylb.rent.entity;

import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公寓安全保障对象 apartment_forbid
 * 
 * @author ylb
 * @date 2023-06-29
 */
@Builder
public class ApartmentForbid
{
    private static final long serialVersionUID = 1L;

    /** 公寓 */

    private Long apartmentId;

    /** 禁止事项 */

    private Long forbidId;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */

    private Long isDelete;

    public void setApartmentId(Long apartmentId) 
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId() 
    {
        return apartmentId;
    }
    public void setForbidId(Long forbidId) 
    {
        this.forbidId = forbidId;
    }

    public Long getForbidId() 
    {
        return forbidId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apartmentId", getApartmentId())
            .append("forbidId", getForbidId())
            .append("id", getId())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
